# -*- coding: utf-8 -*-

'''
Created on 18.07.2011

@author: Vlasov A. I. <root@proscript.ru>
'''
from django.conf.urls.defaults import patterns


urlpatterns = patterns('okno.statement.views',
    
    
    
    #(r'^view/(?P<id>\d+)/$', 'view'),
    #(r'^print/(?P<id>\d+)/$', 'view', { '_print' : True}),
    
    (r'^edit/(?P<id>\d+)/$', 'edit'),
    
    #(r'^journal/((?P<year>\d{4})/)?((?P<page>\d+)/)?$', 'journal'),
    
    (r'^new/(?P<id>\d+)/$', 'create'),
    #(r'^cats/$', 'categories'),
    (r'^services/$', 'services'),
    (r'^documents/$', 'documents'),
    (r'^final/$', 'final'),
    
    (r'^update/(?P<id>\d+)/$', 'update_inflections'),
) 